From e31a1f93eef0f5618b0ac9a19e4396a7b34dfa83 Mon Sep 17 00:00:00 2001 From: Debian OpenLDAP Maintainers Date: Thu, 25 Jul 2019 16:32:00 +0100 Subject: [PATCH] ldapi-socket-place Move the ldapi socket to /var/run/slapd from /var/run, since /var/run is only writable by root and slapd runs as openldap. Debian-specific. Gbp-Pq: Name ldapi-socket-place --- include/ldap_defaults.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ldap_defaults.h b/include/ldap_defaults.h index 84afa669..483d35df 100644 --- a/include/ldap_defaults.h +++ b/include/ldap_defaults.h @@ -39,7 +39,7 @@ #define LDAP_ENV_PREFIX "LDAP" /* default ldapi:// socket */ -#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi" +#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "slapd" LDAP_DIRSEP "ldapi" /* * SLAPD DEFINITIONS -- 2.30.2